package com.example.oj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.oj.entity.SysEnums;
import com.example.oj.service.SysEnumsService;
import com.example.oj.mapper.SysEnumsMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
* @author mingjianyun
* @description 针对表【sys_enums】的数据库操作Service实现
* @createDate 2024-03-11 11:23:22
*/
@Service
public class SysEnumsServiceImpl extends ServiceImpl<SysEnumsMapper, SysEnums>
    implements SysEnumsService{

  @Resource
  private SysEnumsMapper sysEnumsMapper;

  @Override
  public List<Map<String, Object>> getEnumsList(String type) {
    return sysEnumsMapper.getEnumsList(type);
  }
}




